{if $cross_search|@count > 0}
<div class="crossSearchBlock">
	{foreach from=$cross_search item=block name="blockLoop" key=keyName}
	{if $smarty.foreach.blockLoop.iteration % 2 == 1}
	<div class="block02">
	{/if}
		{if $block.DATA|@count > 0}
		<div class="block01">
			<div class="titleBlock">
				<h2><span>{$block.TITLE}</span></h2>
			</div>
			<p class="txt03">{$block.TEXT}</p>
			<ul class="innerBlock01">
			{foreach from=$block.DATA item=crossData name="dataLoop"}
			{if $crossData.DISP_NAME != ""}
				<li {if (!$block.MORE_URL) && $block.MORE_NAME && $smarty.foreach.dataLoop.index > $block.MORE_CNT}class="staticUrl{$smarty.foreach.blockLoop.index}" style="display:none"{/if} >
				{if $crossData.STATIC_URL != ""}
					<a href="{$crossData.STATIC_URL}">{$crossData.DISP_NAME}</a>
				{else}
					<strong>{$crossData.DISP_NAME}</strong>
				{/if}
				</li>
			{/if}
			{/foreach}
			</ul>
			{if $block.MORE_URL}
			<ul class="more"><a href="{$block.MORE_URL}">{$block.MORE_NAME}</a></ul>
			{elseif $block.MORE_NAME}
			<ul class="more"><a class="moreUrl{$smarty.foreach.blockLoop.index}" href="javascript:seoKodawariLinkAct({$smarty.foreach.blockLoop.index})">{$block.MORE_NAME}</a></ul>
			{/if}
		</div>
		{/if}
	{if $smarty.foreach.blockLoop.last}
		<div class="block01">
			<div class="titleBlock">
				<h2><span>地域情報発信 アパログ</span></h2>
			</div>
			<p class="txt03">全国のアパマンショップから地域情報をブログで発信中！</p>
{*
			<ul class="innerBlock01">
				<li>
*}
					<a href="http://blog.apamanshop.com/" target="_blank">アパログトップ</a>
{*
				</li>
			</ul>
*}
		</div>
	{/if}
	{if $smarty.foreach.blockLoop.iteration % 2 == 0 || $smarty.foreach.blockLoop.last}
	</div>
	{/if}
	{/foreach}
</div>
{/if}